package com.hiultra.archive.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 盒状态记录对象 archive_box_status
 *
 * @author 派大星
 * @date 2024-07-23
 */
public class ArchiveBoxStatus extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 档案区编号
     */
    @Excel(name = "档案区编号")
    private String areaNo;

    /**
     * 档案柜编号
     */
    @Excel(name = "档案柜编号")
    private String cabinetNo;

    /**
     * 档案盒条码
     */
    @Excel(name = "档案盒条码")
    private String boxBarCode;

    /**
     * 盒号
     */
    @Excel(name = "盒号")
    private String boxNo;

    /**
     * 库位号
     */
    @Excel(name = "库位号")
    private String houseLocationNo;

    /**
     * 档案盒状态(1.档案入库、2.档案借阅、3.借阅归还、4.档案销毁、5.档案转出、6.档案转入、7.档案盒移位)
     */
    @Excel(name = "档案盒状态", dictType = "da_box_status")
    private String boxStatus;

    /**
     * 记录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    /**
     * 推送状态 （01 已推送 02 未推送）
     */
    @Excel(name = "推送状态 ", dictType = "push_status")
    private String pushStatus;

    /**
     * 推送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "推送时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date pushTime;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setAreaNo(String areaNo) {
        this.areaNo = areaNo;
    }

    public String getAreaNo() {
        return areaNo;
    }

    public void setCabinetNo(String cabinetNo) {
        this.cabinetNo = cabinetNo;
    }

    public String getCabinetNo() {
        return cabinetNo;
    }

    public void setBoxBarCode(String boxBarCode) {
        this.boxBarCode = boxBarCode;
    }

    public String getBoxBarCode() {
        return boxBarCode;
    }

    public void setBoxNo(String boxNo) {
        this.boxNo = boxNo;
    }

    public String getBoxNo() {
        return boxNo;
    }

    public void setHouseLocationNo(String houseLocationNo) {
        this.houseLocationNo = houseLocationNo;
    }

    public String getHouseLocationNo() {
        return houseLocationNo;
    }

    public void setBoxStatus(String boxStatus) {
        this.boxStatus = boxStatus;
    }

    public String getBoxStatus() {
        return boxStatus;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setPushStatus(String pushStatus) {
        this.pushStatus = pushStatus;
    }

    public String getPushStatus() {
        return pushStatus;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    public Date getPushTime() {
        return pushTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("areaNo", getAreaNo())
                .append("cabinetNo", getCabinetNo())
                .append("boxBarCode", getBoxBarCode())
                .append("boxNo", getBoxNo())
                .append("houseLocationNo", getHouseLocationNo())
                .append("boxStatus", getBoxStatus())
                .append("recordTime", getRecordTime())
                .append("pushStatus", getPushStatus())
                .append("pushTime", getPushTime())
                .toString();
    }
}
